﻿using DFGK_WMS.Model.Dto;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IShippingReplenishmentService
    {
        /// <summary>
        /// 补货显示
        /// </summary>
        /// <param name="ordersn"></param>
        /// <param name="status"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalCount"></param>
        /// <returns></returns>
        List<ShippingReplenishment> GetShippingReplenishmentList(string? ordersn, int status, int pageIndex, int pageSize, out int totalCount);

        /// <summary>
        /// 开始补货
        /// </summary>
        /// <param name="m"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        bool StartReplenishment(ReplenishmentDto m, out string message);

        bool FinishReplenishment(string pickcode, out string message);
    }
}
